﻿namespace TVersityDotNet.MediaLib
{
    using System.Runtime.Serialization;
    using System.Xml.Linq;

    [DataContractAttribute]
    public class MediaLibFolder : MediaLibContainer
    {
        public MediaLibFolder(XElement xmlElement)
        {
            this.SearchClass = MediaLibClassType.Container;
            this.RawXml = xmlElement;
            this.ProcessXmlElement();
        }

        public MediaLibFolder()
        {
            this.SearchClass = MediaLibClassType.NoClass;
            this.RawXml = null;            
        }

        public new void ProcessXmlElement()
        {            
            base.ProcessXmlElement();
        }
    }

}
